﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="PopUpPlanificacion1.aspx.vb" Inherits="Interfaz_ModuloPlanificacion_PopUpPlanificacion1" %>

<%@ Register Src="../Otros/Controles/progress.ascx" TagName="progress" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<link rel="stylesheet" media="screen,projection" type="text/css" href="../Otros/css/main.css" />
<link type="text/css" rel="stylesheet" href="../Otros/css/gridstyle.css" />
    <title>Página sin título</title>
</head>
<body>
    <form id="form1" runat="server">
    <div><table style="border-right: lightblue thin solid; border-top: lightblue thin solid;
                            border-left: lightblue thin solid; width: 942px; border-bottom: lightblue thin solid;
                            background-color: white">
        <tr>
            <td style="width: 101px">
                Planificacion N°:</td>
            <td style="width: 44px">
                <asp:Label ID="LblNPlanificacion" runat="server" Text="Label" Font-Bold="True" ForeColor="#FF0000"></asp:Label></td>
            <td style="width: 51px">
                OT N°:</td>
            <td>
                <asp:Label ID="LblNOt" runat="server" Font-Bold="True" ForeColor="Red" Text="Label"></asp:Label></td>
        </tr>
    </table>
        <table style="border-right: lightblue thin solid; border-top: lightblue thin solid;
            border-left: lightblue thin solid; width: 933px; border-bottom: lightblue thin solid;
            background-color: white">
            <tr>
                <td style="width: 264px">
                   <table style="border-right: lightblue thin solid; border-top: lightblue thin solid;
                            border-left: lightblue thin solid; width: 933px; border-bottom: lightblue thin solid;
                            background-color: white">
                            <tr>
                                <td style="width: 264px; text-align: left">
                                    <asp:Label ID="LblMensaje" runat="server" Text="Label"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="width: 100%; text-align: center">
                                <center >
                                    <asp:GridView ID="GridEditarPlanificacion" runat="server" AutoGenerateColumns="False"
                                        CssClass="mGrid">
                                        <Columns>
                                            <asp:BoundField DataField="MARCA" HeaderText="Marca" />
                                            <asp:BoundField DataField="ID" HeaderText="ID" />
                                            <asp:BoundField DataField="CANTIDAD" HeaderText="Cantidad" />
                                            <asp:BoundField DataField="DESCRIPCION" HeaderText="Descripcion" />
                                            <asp:BoundField DataField="KGUNI" HeaderText="KGUNI" />
                                            <asp:BoundField DataField="OBSERVACION" HeaderText="Observaci&#243;n" />
                                            <asp:BoundField DataField="PLANO" HeaderText="Plano" />
                                            <asp:TemplateField HeaderText="Planificar">
                                                <ItemTemplate>
                                                <center >
                                                    <asp:Button ID="BtnEditarPlanificacion" CommandName="EditarPlanificacion" runat="server" Text="Planificar" 
                                CommandArgument="<%# CType(Container,GridViewRow).RowIndex %>"/>
                                </center>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Planificado">
                                                <ItemTemplate>
                                                <center >
                                                    <asp:CheckBox ID="CBListo" runat="server" OnCheckedChanged="CBListo_CheckedChanged" AutoPostBack ="true" />
                                                    </center>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:GridView>
                                    </center>
                                </td>
                            </tr>
                        </table>
                        <table style="border-right: lightblue thin solid; border-top: lightblue thin solid;
                            border-left: lightblue thin solid; width: 933px; border-bottom: lightblue thin solid;
                            background-color: white">
                            <tr>
                                <td style="width: 264px">
                                    Marca Fab</td>
                                <td style="width: 1%">
                                    :</td>
                                <td style="width: 264px">
                                    <asp:TextBox ID="TxtmarcaFab" runat="server" Width="189px"></asp:TextBox></td>
                                <td style="width: 1%">
                                    :</td>
                                <td style="width: 264px">
                                    Kg Uni</td>
                                <td style="width: 264px">
                                    <asp:TextBox ID="TxtKgUni" runat="server" Width="189px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="width: 264px">
                                    Cantidad</td>
                                <td style="width: 264px">
                                    :</td>
                                <td style="width: 264px">
                                    <asp:TextBox ID="TxtCantidad" runat="server" Width="189px"></asp:TextBox></td>
                                <td style="width: 264px">
                                    :</td>
                                <td style="width: 264px">
                                    Observacion Marca Fab</td>
                                <td style="width: 264px">
                                    <asp:TextBox ID="TxtObsMarcaFab" runat="server" Width="189px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="width: 264px; height: 26px">
                                    Descripción Marca Fab</td>
                                <td style="width: 264px; height: 26px">
                                    :</td>
                                <td style="width: 264px; height: 26px">
                                    <asp:TextBox ID="TxtDescMarcaFab" runat="server" Width="189px"></asp:TextBox></td>
                                <td style="width: 264px; height: 26px">
                                    :</td>
                                <td style="width: 264px; height: 26px">
                                    Plano Fab</td>
                                <td style="width: 264px; height: 26px">
                                    <asp:TextBox ID="TxtPlanoFab" runat="server" Width="189px"></asp:TextBox></td>
                            </tr>
                        </table>
                        <asp:Button ID="BtnIngresarPlanificacion" runat="server" OnClientClick="return confirm('Esta Seguro que Desea Crear una Nueva Planificacion Para la OT Seleccionada')"
                            Text="Ingresar" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
